package com.example.springboot.service;

import com.example.springboot.pojo.Location;
import com.example.springboot.pojo.Orders;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface LocationService {
    void create(Location location);
    void delete(Integer id);
    List<Location> findAll();
    Location findById(Integer id);
    void update(Location location);

    List<Location> findByName(String name);
    PageInfo<Location> selectPage(Integer pageNum, Integer pageSize);

    void deleteBatch(List<Integer> ids);

}
